import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/'
import moment from 'moment';
import './permission' // permission control
import './utils/filter' // global filter
import './assets/css/main.scss' // global style
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';

// 自定义组件
import pageHeader from '@/components/pageHeader/pageHeader';

const ECharts = require('echarts');

Vue.config.productionTip = false
Vue.prototype.moment = moment
Vue.prototype.echarts = ECharts;

Vue.use(Antd);

Vue.component("pageHeader",pageHeader);

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
